Q3ViewerGetDimension
You can use theQ3ViewerGetDimension
function to get the current dimensions of the model space in a viewer's view hints object.
OSErr Q3ViewerGetDimension ( TQ3ViewerObject theViewer, unsigned long *width, unsigned long *height);
theViewer
- A viewer object.
width
- On exit, the width of the pane of the specified viewer.
height
- On exit, the height of the pane of the specified viewer.
DESCRIPTION
TheQ3ViewerGetDimension
function returns, in thewidth
andheight
parameters, the current width and height of the model space in the view hints object associated with the viewer object specified by thetheViewer
parameter. If there is no such view hints object,Q3ViewerGetDimension
returns the width and height of the viewer pane.